package org.example.mapper;


import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Select;
import org.example.domain.Post;
import org.example.dto.PostPageQueryDTO;
import org.example.vo.PostVo;

import java.util.List;

/**
* @author Wangmengyi_1
* @description 针对表【sys_post】的数据库操作Mapper
* @createDate 2024-05-23 11:17:42
* @Entity org.example.domain.Post
*/
public interface PostMapper {


    Page<PostVo> listAll(PostPageQueryDTO postPageQueryDTO);

    boolean save(PostPageQueryDTO postPageQueryDTO);

    boolean update(PostPageQueryDTO postPageQueryDTO);

    boolean removeById(Integer id);
}




